﻿using System;
using System.Collections.Generic;
using System.Text;
using StockTrader.BusinessService.DataContract;

namespace StockTrader.DAL.IDAL
{
    public interface IBosc
    {
        void BeginADOTransaction();
        void RollBackTransaction();
        void CommitADOTransaction();
        void Open(string connString);
        void Close();

        bool EnoughMoney(OrderSubmitData order);
//         bool EnoughMoney(string AccountNo, decimal Ammount);

        bool EnoughStock(string AccountNo, string Symbol, decimal Quantity);

        StockDataModel getStockInfoBySymbol(string symbol);

    }
}
